Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for adding and removing on demand resources. #844

Merged
merged 1 commit into from
Jul 24, 2021

Conversation

dnkoutso
Copy link
Contributor

@dnkoutso dnkoutso force-pushed the on_demand_resources_support branch from ea44a39 to e0321e9 Compare July 23, 2021 18:00
existing_build_file = resources_build_phase.build_file(file_ref)
existing_build_file.settings ||= {}
existing_build_file.settings['ASSET_TAGS'] ||= []
existing_build_file.settings['ASSET_TAGS'] << tag
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a single resource may be part of multiple tags. this is tested below.

@dnkoutso dnkoutso merged commit eeccae7 into CocoaPods:master Jul 24, 2021
@dnkoutso dnkoutso deleted the on_demand_resources_support branch July 24, 2021 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants